﻿using AutoMapper;
using nanhua.BookStore.Entitys.OrderAggregate;
using nanhua.BookStore.Orders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace nanhua.BookStore
{
    public class OrderServiceApplicationAutoMapperProfile : Profile
    {
        public OrderServiceApplicationAutoMapperProfile()
        {
            CreateMap<Order, OrderDto>();
            CreateMap<OrderDetail, OrderDetailDto>();
        }
    }
}
